import type { FC, PropsWithChildren, MouseEventHandler } from "react"

interface RadioExtraProp {
  Group:FC<RadioGroupProps>
  Button:FC
}

interface RadioProps {
  value?:number|string
  checked?:boolean
  autoFocus?:boolean
  defaultChecked?:boolean
}

interface RadioGroupProps {
  defaultValue?:number|string
  options?:string[] | Array<{
    label:string
    value:number|string
    disabled?:boolean
  }>
  onChange:MouseEventHandler<HTMLElement>
}

const Radio:FC<PropsWithChildren<RadioProps>> & RadioExtraProp = props=>{
  return null
}

Radio.Group = props=>null
Radio.Button = props=>null

export default Radio
